_f_i_l_e is an AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee structure, previously created by a call to
aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm).
_t_r_a_c_k is an integer which identifies the audio track in the file.
Since all currently supported file formats contain exactly 1
audio track per file, the value AAAAFFFF____DDDDEEEEFFFFAAAAUUUULLLLTTTT____TTTTRRRRAAAACCCCKKKK should always be
used for this argument for now.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
aaaaffffGGGGeeeettttRRRRaaaatttteeee(((()))) returns a positive double-precision floating point value
which specifies the audio sample rate in Hz of the data in _t_r_a_c_k.
aaaaffffGGGGeeeettttVVVViiiirrrrttttuuuuaaaallllRRRRaaaatttteeee(((()))) returns a positive double-precision floating point
value which specifies the virtual audio sampling rate in Hz of the data
in _t_r_a_c_k as set by a previous call to aaaaffffSSSSeeeettttVVVViiiirrrrttttuuuuaaaallllRRRRaaaatttteeee(3dm). -1.0 is
returned in case of error.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
aaaaffffGGGGeeeettttRRRRaaaatttteeee(((()))) and aaaaffffGGGGeeeettttVVVViiiirrrrttttuuuuaaaallllRRRRaaaatttteeee(((()))) return, in Hz., the file and virtual
sampling rates, respectively, of the data associated with the specified
track in an audio file. The sampling rate is returned as a double-
precision floating-point value.
For example, a CD-quality audio track would return a sample rate value of
44100.0.
CCCCAAAAVVVVEEEEAAAATTTTSSSS
aaaaffffGGGGeeeettttRRRRaaaatttteeee(((()))) may return any conceivable sampling rate. Programs should
check that the sampling rate of a file opened for reading is a value it
can deal with, or use the virtual rate setting to make it so.